package cc.rboot.token.core;

public interface ITokenAware {

    void require(Class<? extends IToken> token) throws Exception;

    IToken get(Class<? extends IToken> tokenClass) throws Exception;

    IToken get() throws Exception;

    String token();

    void logout();

    boolean isLogin();
}
